LearnPress\Models\UserItems\UserQuizModel A

Total Complexity 68
Dependencies 13
Dependents 2
Total lines 548
Lines of code 329
Logical lines of code 194
Comment lines 143
Methods 15
Properties 6

Methods 15

Method Rating Maintainability Complexity Lines of code
calculate_quiz_result()
B
35 15 85
check_can_retake()
A
44 11 42
check_can_start()
A
42 10 52
get_result()
S
50 5 31
get_timestamp_remaining()
S
55 5 19
get_attempts()
S
57 5 16
retake()
S
50 3 28
start_quiz()
S
62 2 11
__construct()
S
72 2 6
get_quiz_model()
S
71 2 6
get_question_ids()
S
65 2 9
get_checked_questions()
S
65 2 10
get_time_spend()
S
67 2 8
get_status()
S
82 1 3
get_retaken_count()
S
80 1 3